package junit;

import static org.junit.Assert.*;

import java.sql.Connection;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

import database_package.SqliteConnection;
import database_package.SqliteDatabase;
/**
 * Test for the SqliteDatabase class.
 * @author Syrym
 * @author Kyler
 * @version 12/12/2014
 * */

public class SqliteDatabaseTest {
	/**
	 * SqliteDatabase instance to test.
	 * @author Syrym
	 * */
	static SqliteDatabase db;
	/**
	 * Connection instance use to test.
	 * @author Syrym
	 * */
	static Connection conn = SqliteConnection.dbConnect();
	/**
	 * SqliteDatabase set up before class.
	 * @author Syrym
	 * */
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
		db = new SqliteDatabase();
	}
	/**
	 * SqliteDatabase tear down after class.
	 * @author Syrym
	 * */
	@AfterClass
	public static void tearDownAfterClass() throws Exception {
		db = null;
	}
	/**
	 * SqliteDatabase set up.
	 * @author Syrym
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
	}
	/**
	 * SqliteDatabase tear down.
	 * @author Syrym
	 * */
	/**
	 * @throws java.lang.Exception
	 */
	@After
	public void tearDown() throws Exception {
	}
	/**
	 * Test if SqliteDatabase instance works fine.
	 * @author Syrym
	 * */
	/**
	 * Test method for {@link database_package.SqliteDatabase#SqliteDatabase()}.
	 */
	@Test
	public void testSqliteDatabase() {
		fail("Not yet implemented");
	}
	/**
	 * Test updateUserData() method of SqliteDatabase class.
	 * @author Syrym
	 * */
	/**
	 * Test method for {@link database_package.SqliteDatabase#updateUserData(java.lang.String, java.lang.String, java.lang.String)}.
	 */
	@Test
	public void testUpdateUserData() {
		
	}
	/**
	 * Test isUserRegistered()() method of SqliteDatabase class.
	 * @author Syrym
	 * */
	/**
	 * Test method for {@link database_package.SqliteDatabase#isUserRegistered(java.lang.String, java.lang.String)}.
	 */
	@Test
	public void testIsUserRegistered() {
		fail("Not yet implemented");
	}

	/**
	 * Test method for {@link database_package.SqliteDatabase#update(java.util.Observable, java.lang.Object)}.
	 */
	@Test
	public void testUpdate() {
		fail("Not yet implemented");
	}

}
